﻿using System;
using System.Collections.Generic;

namespace tju.cme.BookStore2024.webapi.Models.EF;

public partial class T031novel
{
    /// <summary>
    /// 小说Id
    /// </summary>
    public Guid Id { get; set; }

    /// <summary>
    /// 小说标题
    /// </summary>
    public string NovelTitle { get; set; } = null!;

    /// <summary>
    /// 小说封面地址
    /// </summary>
    public string NovelImageAddress { get; set; } = null!;

    /// <summary>
    /// 小说类型
    /// </summary>
    public string Type { get; set; } = null!;

    /// <summary>
    /// 小说简介
    /// </summary>
    public string Profile { get; set; } = null!;

    /// <summary>
    /// 小说是否完结
    /// </summary>
    public bool IsEnd { get; set; }

    /// <summary>
    /// 小说是否上架
    /// </summary>
    public bool OnShelf { get; set; }

    /// <summary>
    /// 小说产生的时间
    /// </summary>
    public DateTime NovelGenerateTime { get; set; }

    /// <summary>
    /// 目前更新到第几章
    /// </summary>
    public int UpdateToChapter { get; set; }

    /// <summary>
    /// 小说总的章节数
    /// </summary>
    public int TotalChapters { get; set; }

    /// <summary>
    /// 小说总字数
    /// </summary>
    public int NovelTotalWords { get; set; }

    /// <summary>
    /// 小说作者的Id
    /// </summary>
    public Guid AuthorId { get; set; }

    /// <summary>
    /// 小说是否提交给管理员审核
    /// </summary>
    public bool IsToAdmin { get; set; }

    /// <summary>
    /// 小说审核状态
    /// </summary>
    public string Status { get; set; } = null!;

    public virtual ICollection<T002readerNovel> T002readerNovels { get; set; } = new List<T002readerNovel>();

    public virtual ICollection<T032chapter> T032chapters { get; set; } = new List<T032chapter>();
}
